//
//  BaseNavController.h
//  pmmSS
//
//  Created by Mac book on 2017/8/25.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol BaseNavgationControllerDelegate <NSObject>

@optional


///基类导航控制器能否返回
-(BOOL)BaseNavgationControllerCanBack:(UINavigationController*)nvc;

///当BaseNavgationControllerCanBack 返回NO时调用本方法
-(void)BaseNavgationController:(UINavigationController*)nvc didClickBackButton:(UIButton*)button;


@end


@interface BaseNavController : UINavigationController

@property(nonatomic,assign)id<BaseNavgationControllerDelegate>backDelegate;

@end
